package com.mnb.base.mapper;

import com.mnb.base.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {
    int deleteByPrimaryKey(Object userId);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Object userId);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    List<SysUser> getList(SysUser sysUser);

    SysUser selectByUserName(@Param("userName") String userName);

    int resetUserPwd(@Param("userId") Object userId,@Param("password") String password);

    int deleteUserByIds(String[] userIds);
}